<?php
/**
 * Created by Alan.
 * User: Alan
 * Date: 2018\10\8 0008
 * Time: 16:15
 */

namespace app\common\model;


use think\Model;

class Bis extends BaseModel
{
   public function getBisByStatus($status = 0)
   {
       $data = [
           'status' => $status
       ];
       $order = [
           'id' => 'desc'
       ];
       return $this->where($data)
           ->order($order)
           ->paginate(5);
   }


}